<% form_for :spec do |f| -%>
  <fieldset>
  	<legend><%= @title %></legend>
		<%= error_messages_for 'spec' %>
		<%= text_field_for f, "first_name" %>
		<%= text_field_for f, "last_name" %>
		<div class="form_row">
			<label for="gender">Gender:</label>
			<%= radio_button :spec, :gender, "Male" %> Male
			<%= radio_button :spec, :gender, "Female" %> Female
		</div>
		<div class="form_row">
			<label for="birthdate">Birthdate:</label>
			<%= date_select :spec, :birthdate,
			 											 :start_year => Spec::START_YEAR,
			 											 :end_year => Time.now.year, 
														 :include_blank => true,
														 :order => [:month, :day, :year] %>		
		</div>
		<%= text_field_for f, "occupation" %>
		<%= text_field_for f, "city" %>
		<%= text_field_for f, "state" %>
		<%= text_field_for f, "zip_code", Spec::ZIP_CODE_LENGTH %>
		<%= submit_tag "Update", :class => "submit" %>
  </fieldset>
<% end -%>